package com.hualan.service.impl;

import com.hualan.dao.CommunityDeleteDao;
import com.hualan.dao.impl.CommunityDeleteDaoImpl;
import com.hualan.service.CommunityDeleteService;

/**
 * 删除小区业务实现类
 */
public class CommunityDeleteServiceImpl implements CommunityDeleteService {
    private CommunityDeleteDao communityDeleteDao;

    public CommunityDeleteServiceImpl(){
        communityDeleteDao = new CommunityDeleteDaoImpl();
    }
    @Override
    public int deleteCommunity(int communityId) {
        return communityDeleteDao.deleteCommunity(communityId);
    }
}
